﻿using System;
using System.Linq.Expressions;

namespace Randomize.Core.Exceptions
{
    public class InvalidExpressionException : Exception
    {
        public InvalidExpressionException(Expression ex) 
            : base(string.Format("{0} is invalid expression. Property expression should be provided", ex))
        {
            
        }
    }
}
